package com.maplefire.handler.collect;

import com.maplefire.annotation.MessageHandlerType;
import com.maplefire.constant.Constants;
import com.maplefire.message.CollectPush2RetailMsg;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

@Slf4j
@Component
@MessageHandlerType(operateType = Constants.Type.ORDER_COLLECTED, source = Constants.SOURCE_FROM_COLLECT)
public class OrderCollectedCollectMessageHandler extends OrderStatusCollectMessageHandler {

    @Override
    public void handler(CollectPush2RetailMsg message) {

        log.info("开始处理韵镖侠揽收信息,订单号为" + message.getOrderId());
        super.handler(message);
        log.info("执行揽收业务逻辑...");
    }
}